package com.klm.easymq.demo;

import com.klm.easymq.config.EasyMqAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

/**
 * Easy-MQ Demo 应用启动类
 * 演示Easy-MQ SDK的各种功能
 * @author wq
 */
@SpringBootApplication
@EnableAspectJAutoProxy
@Import(EasyMqAutoConfiguration.class)
public class EasyMqDemoApplication {
    
    public static void main(String[] args) {
        SpringApplication.run(EasyMqDemoApplication.class, args);
        System.out.println("🚀 Easy-MQ Demo 应用启动成功！");
        System.out.println("📊 健康检查: http://localhost:9001/actuator/health");
        System.out.println("🎛️  Web控制台: http://localhost:9001/easymq");
        System.out.println("📈  Prometheus指标: http://localhost:9001/actuator/prometheus");
        System.out.println("📝  API文档: http://localhost:9001/swagger-ui.html");
    }
} 